<?php
class Book extends PBMessage
{
  var $wired_type = PBMessage::WIRED_LENGTH_DELIMITED;
  public function __construct($reader=null)
  {
    parent::__construct($reader);
    $this->fields["1"] = "PBString";
    $this->values["1"] = "";
    $this->fields["2"] = "PBString";
    $this->values["2"] = "";
  }
  function nbsp()
  {
    return $this->_get_value("1");
  }
  function set_nbsp($value)
  {
    return $this->_set_value("1", $value);
  }
  function name()
  {
    return $this->_get_value("2");
  }
  function set_name($value)
  {
    return $this->_set_value("2", $value);
  }
}
class Books extends PBMessage
{
  var $wired_type = PBMessage::WIRED_LENGTH_DELIMITED;
  public function __construct($reader=null)
  {
    parent::__construct($reader);
    $this->fields["5"] = "Book";
    $this->values["5"] = array();
  }
  function b($offset)
  {
    return $this->_get_arr_value("5", $offset);
  }
  function add_b()
  {
    return $this->_add_arr_value("5");
  }
  function set_b($index, $value)
  {
    $this->_set_arr_value("5", $index, $value);
  }
  function remove_last_b()
  {
    $this->_remove_last_arr_value("5");
  }
  function b_size()
  {
    return $this->_get_arr_size("5");
  }
}
?>